package com.hornsun.domain.dbo;

import java.util.Date;

public class Commodity {
    private String commodityGuid;

    private String typeid;

    private String image;

    private String description;

    private Float price;

    private Integer sales;

    private Double point;

    private Byte homepangRecommend;

    private Date sellTime;

    private String intro;

    private Float offer;

    private Byte classes;

    private String content;

    private String detailImage;

    private Integer favourite;

    public String getCommodityGuid() {
        return commodityGuid;
    }

    public void setCommodityGuid(String commodityGuid) {
        this.commodityGuid = commodityGuid == null ? null : commodityGuid.trim();
    }

    public String getTypeid() {
        return typeid;
    }

    public void setTypeid(String typeid) {
        this.typeid = typeid == null ? null : typeid.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Double getPoint() {
        return point;
    }

    public void setPoint(Double point) {
        this.point = point;
    }

    public Byte getHomepangRecommend() {
        return homepangRecommend;
    }

    public void setHomepangRecommend(Byte homepangRecommend) {
        this.homepangRecommend = homepangRecommend;
    }

    public Date getSellTime() {
        return sellTime;
    }

    public void setSellTime(Date sellTime) {
        this.sellTime = sellTime;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro == null ? null : intro.trim();
    }

    public Float getOffer() {
        return offer;
    }

    public void setOffer(Float offer) {
        this.offer = offer;
    }

    public Byte getClasses() {
        return classes;
    }

    public void setClasses(Byte classes) {
        this.classes = classes;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getDetailImage() {
        return detailImage;
    }

    public void setDetailImage(String detailImage) {
        this.detailImage = detailImage == null ? null : detailImage.trim();
    }

    public Integer getFavourite() {
        return favourite;
    }

    public void setFavourite(Integer favourite) {
        this.favourite = favourite;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", commodityGuid=").append(commodityGuid);
        sb.append(", typeid=").append(typeid);
        sb.append(", image=").append(image);
        sb.append(", description=").append(description);
        sb.append(", price=").append(price);
        sb.append(", sales=").append(sales);
        sb.append(", point=").append(point);
        sb.append(", homepangRecommend=").append(homepangRecommend);
        sb.append(", sellTime=").append(sellTime);
        sb.append(", intro=").append(intro);
        sb.append(", offer=").append(offer);
        sb.append(", classes=").append(classes);
        sb.append(", content=").append(content);
        sb.append(", detailImage=").append(detailImage);
        sb.append(", favourite=").append(favourite);
        sb.append("]");
        return sb.toString();
    }
}